package cn.car91.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * 评论类
 *
 * @author 周海刚
 * @Date 2014-9-27
 */
public class Comment implements Serializable {
    private int cid;
    private String content;    //评论内容
    private Date time;    //发布时间
    private Integer state = 0;    //状态，0为正常，1为封禁，2为用户可改
    private String uid;    //并不需要与用户类建关系，用户网页id，12位编码
    private String username;    //用户名

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
